package cn.edu.bzu.ie.sf.mealsmisweb.mapper;

import cn.edu.bzu.ie.sf.mealsmisweb.entity.District;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @version v1.0.0
 * @Package : cn.edu.bzu.ie.sf.mealsmisweb.mapper
 * @Description : TODO
 * @Create on : 2021/8/10 18:46
 * @author: Feng Song 宋锋
 **/
@Repository
public interface DistrictMapper extends Mapper<District> {
    /**
     * 获取所有的区县信息列表
     * @return List<District> 区县集合
     */
    @Select("select * from district")
    List<District> getAllDistrictList();
}
